import unittest
import requests
from api.login import LoginApi

class TestLogin(unittest.TestCase):
    @classmethod
    def setUpClass(cls):
        cls.login_api = LoginApi()
    def setUp(self):
        self.session = requests.session()

    def tearDown(self):
        self.session.close()

    def test_01(self):
        r = self.login_api.login_test(self.session, 18688888100, "admin123")
        f = r.json()
        print(f)
